# foreColor attribute

The foreColor attribute specifies the color for the object’s text or line.

Objects with caption elements, such as button objects, do not contain foreColor attributes. All other graphic object elements contain the foreColor attribute. For the gauge graphic object element, this attribute applies to the dial outline and tick marks.

FactoryTalk View equivalent: ForeColor

## See also

foreColor attribute syntax

Graph and gauge objects: gauge object